.writeArticle{
  .title{
    display: inline-block;
    margin-bottom: 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    i{
      font-size: 14px;
    }
  }
  .add-wrap{
    border:1px solid #e5e5e5;
    padding:50px 0;
    margin-bottom:60px;
    .add-title{
      max-width: 800px;
      margin:0 auto;
      padding:0 0 30px 0;
      #addTitle{
        line-height: 24px;
        padding:0 6px;
        border:1px solid #e6e6e6;
        outline: none;
        transition: border-color 0.2s linear;
        font-family: "微软雅黑";
        &:hover,&:focus{
          border-color: #C5C1C1;
          outline: none;
        }
      }
      #cate{
        height: 24px;
      }
    }
    .textarea{
      max-width: 800px;
      margin:0 auto;
    }
    textarea{
      width:100%;
      min-height: 100px;
      resize: vertical;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      display: block;
      border-color:#e6e6e6;
      transition: border-color 0.2s linear;
      font-family: "微软雅黑";
      padding: 6px 10px;
      &:hover,&:focus{
        border-color: #C5C1C1;
        outline: none;
      }
    }
    .input-file{
      margin:24px auto 0 auto;
      max-width: 600px;
      position: relative;
      input[type=file]{
        width:100px;
        height: 40px;
        opacity: 0;
        &:hover+.file{
          background-color: #FD974F;
        }
        &:active+.file{
          background-color: #ff7f21;
        }
      }
      button{
        width:100px;
        height: 40px;
        line-height: 40px;
        background-color: #ff7f21;
        color:#fff;
        border:none;
        outline: none;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
        transition: background-color 0.2s linear;

      }
      .file{
        position: absolute;
        top:0;
        left:0;
        z-index:-1;
      }
      .add{
        float: right;
        &:hover{
          background-color: #FD974F;
        }
        &:active{
          background-color: #ff7f21;
        }
      }
    }
  }
}
